FileName

Returns the filename and extension from a path.

Syntax

FileName("FilePath")

Arguments

Argument Description
FilePath Full or relative path to the file.

Return value

Value Description
Value Filename and extension from the path.

Example

FileName("C:\\Testing\\Output.txt")